package bgu.gaoxu.diary.entity;

public class UserIF {
private int user_id;
private int diarynum;
private int friendnum;
private String user_name;
private String user_psd;
private String user_photo;
private String nickname;
private String user_message;
private int erro_code=0;



public UserIF(int user_id, int diarynum, int friendnum, String user_name, String user_psd, String user_photo,
		String nickname,String user_message) {
	super();
	this.user_id = user_id;
	this.diarynum = diarynum;
	this.friendnum = friendnum;
	this.user_name = user_name;
	this.user_psd = user_psd;
	this.user_photo = user_photo;
	this.nickname = nickname;
	this.user_message = user_message;
}

	public UserIF() {

	}

	public int getDiarynum() {
	return diarynum;
}
public void setDiarynum(int diarynum) {
	this.diarynum = diarynum;
}

public String getUser_message() {
	return user_message;
}
public void setUser_message(String user_message) {
	this.user_message = user_message;
}
public int getFriendnum() {
	return friendnum;
}
public void setFriendnum(int friendnum) {
	this.friendnum = friendnum;
}
public String getNickname() {
	return nickname;
}
public void setNickname(String nickname) {
	this.nickname = nickname;
}
public int getUser_id() {
	return user_id;
}
public void setUser_id(int user_id) {
	this.user_id = user_id;
}
public String getUser_name() {
	return user_name;
}
public void setUser_name(String user_name) {
	this.user_name = user_name;
}
public String getUser_psd() {
	return user_psd;
}
public void setUser_psd(String user_psd) {
	this.user_psd = user_psd;
}
public String getUser_photo() {
	return user_photo;
}
public void setUser_photo(String user_photo) {
	this.user_photo = user_photo;
}

public int getErro_code() {
	return erro_code;
}
public void setErro_code(int erro_code) {
	this.erro_code = erro_code;
}

	@Override
	public String toString() {
		return "UserIF{" +
				"user_id=" + user_id +
				", diarynum=" + diarynum +
				", friendnum=" + friendnum +
				", user_name='" + user_name + '\'' +
				", user_psd='" + user_psd + '\'' +
				", user_photo='" + user_photo + '\'' +
				", nickname='" + nickname + '\'' +
				", user_message='" + user_message + '\'' +
				", erro_code=" + erro_code +
				'}';
	}
}
